#include<stdio.h>

void strcpy(char *const s, char *const t);
char *alloc(int n);

int main()
{
    char *from = alloc(1000);
    char *to = alloc(1000);

    while(~scanf("%s", from)) {
        strcpy(to, from);
        printf("%s\n", to);
    }

    return 0;
}
/* 请在这里填写答案 */
void strcpy(char *const s, char *const t)
{
    int i=0;
    while(t[i])s[i]=t[i],++i;
    s[i]=0;
}